home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Megahits 5
/
Megahits 5 (1994)(GTI - Rhein-Main-Soft)(DE)(Disc 2 of 2)[!].iso
/
archive
/
print
/
psutils.lzh
/
PSUtils
/
psutil.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-10
|
784b
|
44 lines
/* psutil.h
* AJCD 29/1/91
* utilities for PS programs
*/
#include <stdio.h>
#include <ctype.h> /* added by J. Luo for compiling on IBM-RT/PC machines */
#ifndef LOCAL
#define LOCAL extern
#endif
#define TMPDIR "/tmp"
#define MAXPAGES 5000 /* max pages in document */
LOCAL char *prog;
LOCAL long pageptr[MAXPAGES];
LOCAL int pages;
LOCAL int verbose;
LOCAL FILE *infile;
LOCAL FILE *outfile;
LOCAL FILE *seekable();
LOCAL int fcopy();
LOCAL writepage();
LOCAL seekpage();
LOCAL writepageheader();
LOCAL writepagebody();
LOCAL writeheader();
LOCAL writeprolog();
LOCAL writetrailer();
LOCAL writeemptypage();
LOCAL scanpages();
LOCAL writestring();
LOCAL message();
#ifdef _DCC
#define getpid() 0
#else
extern long ftell();
#endif
extern long lseek();
extern char *getenv();